<!DOCTYPE html>
<html lang="en" ng-app="app">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/1.4.8/angular.js"></script>
</head>
<body>
<div ng-controller="myCtrl">
    <div>
        <span>{{result.name}}</span>
        <span>{{result.age}}</span>
        <span>{{result.sex}}</span>
    </div>
    <button ng-click="send()">send</button>
</div>
<script type="application/javascript">
    var app = angular.module("app", []);
    app.controller("myCtrl", ["$scope", "$http", function ($scope, $http) {
        $scope.result = "";
        $scope.send = function () {
            $http.get('data/hello.json')
                    .success(function (data, status, headers, config) {
                        $scope.result = data;
                        console.log("status:" + status);
                        console.log("headers:" + headers);
                        console.log("config:" + config);
                    })
        };
    }]);
</script>
</body>
</html>